<div class="profile-name">
  <a href="<?php echo WebRoot?>userAlbums.php?idUser=<?php echo $requiredUser->idUser ?>">
    <?php echo $requiredUser->UserName; ?>
  </a>
</div>

<div class="profile-info">
  <div><strong><?php echo T_('Real Name') ?>:</strong>          <?php echo $requiredUser->FullName ?></div>
  <div><strong><?php echo T_('Gender') ?>:</strong>             <?php echo User::genderToString($requiredUser->Gender); ?></div>
  <div><strong><?php echo T_('ICQ') ?>:</strong>                <?php echo $requiredUser->ICQ ?></div>
  <div><strong><?php echo T_('Jabber') ?>:</strong>             <?php echo $requiredUser->Jabber ?></div>
  <div><strong><?php echo T_('Web') ?>:</strong>                <?php echo $requiredUser->WebPage ?></div>
  <div><strong><?php echo T_('Prefered language') ?>:</strong>  <?php echo $requiredUser->Language->FullName ?></div>
  <div><strong><?php echo T_('Prefered theme') ?>:</strong>     <?php echo $requiredUser->StyleName ?></div>
  <div><strong><?php echo T_('Number of albums') ?>:</strong>   <?php echo $albumCount ?></div>
  <div><strong><?php echo T_('Number of photos') ?>:</strong>   <?php echo $photoCount ?></div>
  <div><strong><?php echo T_('Last signed') ?>:</strong>        <?php echo $requiredUser->LastAction->format($config['Page']['DateFormat']) ?></div>
  <div><strong><?php echo T_('Member since') ?>:</strong>       <?php echo $requiredUser->RegistrationDate->format($config['Page']['DateFormat']) ?></div>
  <div><strong><?php echo T_('Additional details') ?>:</strong> <?php echo nl2br($requiredUser->Details) ?></div>
</div>

<div class="profile-avatar">
  <img src="<?php echo WebRoot.$requiredUser->AvatarUNC ?>" alt="<?php echo $requiredUser->UserName; ?>"/>
</div>

<div class="clear"></div>

<div class="profile-comments-header"><?php echo T_('Last sent comments'); ?></div>
<div class="title_comments"> 
  <?php 
    $i=0;
    foreach ($requiredUser->Comments as $comment) {
      ?>
  <div class="comment">
    <div class="comment_avatar">
      <a href="<?php echo WebRoot.'album.php?idAlbum='.$comment->Photo->Album->idAlbum.'#'.$comment->Photo->idPhoto ?>">
        <img src="<?php echo WebRoot.$comment->Photo->ThumbnailUNC ?>" alt="<?php echo $comment->Photo->Name ?>" title="<?php echo $comment->Photo->Name ?>"/>
      </a>
    </div>
    <div class="comment_text">        
      <?php echo $comment->Text ?>
    </div>
  </div>  
      <?php
      if (($i++) > 30) break;
    }
  ?>
</div>
          <?php
  //<strong><?php echo T_('') </strong>: <?php echo T_('') <br />
//  
//    echo T_('Name:').$requiredUser->FullName.nl;
//    echo T_('ICQ:').$requiredUser->ICQ.nl;
//    echo T_('Jabber:').$requiredUser->Jabber.nl;
//    echo T_('Language:').$requiredUser->Language->FullName.nl;
//    echo T_('Style:').$requiredUser->StyleName.nl;
//    echo T_('Total albums:').$albumCount.nl;
//    echo T_('Total photos:').$photoCount.nl;
  ?>









